package com.example.justextends;

import android.app.Application;
import android.content.Context;
import android.util.Log;

public class JustExApp extends Application {
    static {
        //System.loadLibrary("stub");
        System.loadLibrary("javahook");
    }

    @Override
    protected void attachBaseContext(Context base) {
        super.attachBaseContext(base);
        try {
            Log.i("TAG", getClassLoader().toString());
            //1.获取引导类加载器
            ClassLoader classLoader = Class.forName("java.lang.String").getClassLoader();
            System.out.println(classLoader);

            System.out.println(ClassLoader.getSystemClassLoader());

        }catch (Exception e){

        }

    }
}
